package com.edu.chat.web.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 热点问题
 * @TableName sys_hot_question
 */
@TableName(value ="sys_hot_question")
@Data
public class SysHotQuestion {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 问题标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 问题内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 来源类型:1-QA 2-文本
     */
    @TableField(value = "from_type")
    private Integer fromType;

    /**
     * 关联数据ID
     */
    @TableField(value = "source_id")
    private Long sourceId;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id")
    private Long tenantId;

    /**
     * 场景ID
     */
    @TableField(value = "scene_id")
    private Long sceneId;

    /**
     * 扩展信息
     */
    @TableField(value = "ext_info")
    private String extInfo;

    /**
     * 是否删除
     */
    @TableField(value = "deleted")
    private Integer deleted;

    /**
     * 创建人
     */
    @TableField(value = "created_by")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_at")
    private Date createdAt;

    /**
     * 修改人
     */
    @TableField(value = "updated_by")
    private String updatedBy;

    /**
     * 修改时间
     */
    @TableField(value = "updated_at")
    private Date updatedAt;
}